Techniques for performing malware scanning of files stored within a file storage device of a computer network

ABSTRACT

The present invention relates to a proxy device, computer program product and method for performing malware scanning of files stored within a file storage device of a computer network. The computer network has a plurality of client devices arranged to issue access requests using a dedicated file access protocol to the file storage device in order to access files stored on the file storage device, with the proxy device being arranged so as to intercept access requests issued to the file storage device. The proxy device comprises a first interface for receiving an access request issued by one of the client devices to the file storage device using the dedicated file access protocol, and a second interface for communicating with the file storage device to cause the file storage device to process the access request. Further, processing logic is provided for causing selected malware scanning algorithms to be executed to determine whether the file identified by the access request is to be considered as malware. This approach removes the dependency of the malware scanning process on the operating system and/or vendor of the file storage device.

BACKGROUND OF THE INVENTION

[0001] 1. Field of the Invention

[0002] The present invention relates to techniques for performing malware scanning of files stored within a file storage device of a computer network. As will be appreciated by those skilled in the art, “malware” may include, amongst other things, viruses, worms, Trojans, and/or computer files, words, content, etc. that have been banned for the computer network, etc.

[0003] 2. Description of the Prior Art

[0004] In a computer network, it is common to provide a file server arranged to provide certain centralised services to the users of client devices connected to that network. For example, the file server will often be used to store user files for subsequent access by authorised users over the network.

[0005] It is often desirable to perform malware scanning of the files stored within such a file server, and accordingly appropriate scanning software has been written for installation on the file server so as to enable files to be scanned at appropriate times, for example when they are written to the file server, read from the file server, etc. FIG. 1 is a block diagram illustrating a typical prior art arrangement of a computer network, where the computer network comprises a number of client devices 10 coupled to a file server 30 via an appropriate communication infrastructure 20, for example a wired network. In the FIG. 1 example, a malware scanner in the form of an anti-virus (AV) scanner 40 is installed on the file server 30 to perform scanning of the files stored on the file server 30. Typically, the anti-virus scanner 40 can be configured to determine when scanning is performed (i.e. when files are read, when files are written, both, etc.), what type of files are scanned (all files, only executable files, files of a type in which a macro program may be embedded, compressed files, etc.), and what type of scanning is performed (anti-virus algorithms that compare a suspect file to a dictionary of known virus characteristics, heuristic algorithms that seek to detect virus-like activity associated with a file being scanned, etc.).

[0006] One of the problems with the approach illustrated in FIG. 1 is that the anti-virus scanner 40 may significantly impact the performance of the file server, particularly when the anti-virus scanner is configured to perform rigorous scanning of files (e.g. by scanning many file types, by employing multiple scanning algorithms, by scanning when files are both read and written, etc.). Furthermore, it is necessary to write a separate version of the anti-virus scanner for each operating system that may be used on the file server 30, for example Windows NT, Windows 2000, Novell Netware, etc.

[0007]FIG. 2 illustrates an alternative known arrangement which aims to reduce the performance impact of the FIG. 1 approach. In accordance with the FIG. 2 approach, the AV scanner 60 is placed on a separate device to the file server 30, for example a desktop PC, with a redirector program 50 being installed on the file server 30 to intercept file access requests issued by the client devices 10 and to redirect those file accesses via the link 70 to the AV scanner 60, where any appropriate AV scanning is performed prior to the file access request being processed by the file server 30. Since the heart of the AV scanner is now separated from the file server 30, this approach clearly reduces the performance impact of the scanning process on the other activities being performed by the file server 30. Nevertheless, it is still necessary to write redirector software 50 for each operating system that may be used by the file server 30.

[0008] The problem of having to write different software versions for each operating system has recently been compounded by the introduction of dedicated file storage devices that can be connected to the computer network, and which are intended solely to provide for central storage of files. Since these file storage devices do not need to perform all of the other functions that are typically associated with the more traditional file storage devices such as the file server 30 illustrated in FIGS. 1 and 2, they do not require the complex operating systems that are typically installed on file servers 30. Instead, most of these recent dedicated file storage devices, such as those available from Network Appliances, EMC, IBM, etc., have a “trimmed down”, proprietary operating system installed thereon to enable those storage devices solely to manage file storage and retrieval activities. These proprietary operating systems are typically not “open” operating systems, and so it is not possible to write software to run on them without obtaining the necessary approval and assistance of the device vendor.

[0009] Clearly, it would be desirable to enable any file storage device of a computer network to be scanned for malware, whether that file storage device be the more traditional file server type device, or a dedicated file storage device, and to facilitate such scanning without having to redesign and re-code the scanning software for each device/vendor.

[0010] Accordingly, it is an object of the present invention to provide an improved technique for performing malware scanning of files stored within a file storage device of a computer network.

SUMMARY OF THE INVENTION

[0011] Viewed from a first aspect, the present invention provides a proxy device for performing malware scanning of files stored within a file storage device of a computer network, the computer network having a plurality of client devices arranged to issue access requests using a dedicated file access protocol to the file storage device in order to access files stored on the file storage device, the proxy device being arranged so as to intercept access requests issued to the file storage device, and comprising: a first interface for receiving an access request issued by one of said client devices to said file storage device using the dedicated file access protocol; a second interface for communicating with the file storage device to cause the file storage device to process the access request; processing logic for causing selected malware scanning algorithms to be executed to determine whether the file identified by the access request is to be considered as malware.

[0012] In accordance with the present invention, a device is provided for performing malware scanning of files stored within a file storage device of a computer network, this device acting as a “proxy”, such that the network is configured to ensure that file access requests issued by the client devices to the file storage device are actually routed in the first instance to the proxy device arranged to perform the malware scanning. It will be appreciated that this may be done in a variety of ways, for example transparently by making the proxy device appear to the client devices to be the file storage device, whilst the file storage device is then connected to the proxy device rather than directly to the computer network infrastructure. Alternatively a non-transparent implementation could be used, whereby each client is configured to send such file access requests to the proxy device rather than to the file storage device, even though the file storage device is connected to the computer network infrastructure. It will be appreciated that irrespective of which of the above approaches is used, the access requests issued by the client devices are still logically being issued to the file storage device, since that is where the files the subject of the file access requests are stored. However, the computer network is configured such that the proxy device will intercept such access requests and perform any appropriate malware scanning.

[0013] The inventors of the present invention realised that irrespective of the operating system installed on the file storage device itself, most file access requests to such file storage devices are issued using a dedicated file access protocol, and the number of these dedicated file access protocols is far less than the number of different operating systems used on the various file storage devices that are currently available.

[0014] Hence, in accordance with the present invention, the proxy device can be arranged to have a first interface for receiving an access request issued by one of the client devices to the file storage device using the dedicated file access protocol, and is then arranged to cause selected malware scanning algorithms to be executed to determine whether the file identified by the access request is to be considered as malware, and to communicate with the file storage device to cause the file storage device to process the access request. By arranging the first interface to recognise access requests issued using the dedicated file access protocol, it is possible to provide a proxy device which is not dependent on the vendor of the file storage device or the operating system installed on that file storage device, and which is accordingly able to be used without modification within any computer network where the file access requests are issued using the dedicated file access protocol.

[0015] In preferred embodiments, the dedicated file access protocol is the Server Message Block (SMB) protocol and the access requests are SMB calls issued to the file storage device. The SMB protocol is the protocol used in a Microsoft Windows environment to enable machines to access data from a Microsoft Windows machine over the computer network. This protocol is also sometimes referred to as the Common Internet File System (CIFS). In an alternative embodiment, the dedicated file access protocol is the Network File System (NFS) protocol, and the access requests are NFS calls issued to the file storage device. The NFS protocol is used in Unix-based systems for accessing data, particularly systems from Sun Microsystems, Inc.

[0016] As mentioned earlier, there are a number of different ways in which the computer network can be configured to enable the proxy device of the present invention to be used. In a preferred embodiment, each device in the computer network is assigned an identifier, and the proxy device is assigned the same identifier as is assigned to the file storage device, the first interface being connectable to a communication infrastructure of the computer network to enable communication between the proxy device and said client devices, and the file storage device being connectable to the second interface such that the file storage device is only accessible by said client devices via said proxy device. In such an arrangement, the presence of the proxy device will be entirely transparent to the client devices, in that the client devices will merely issue file access requests in the usual manner using the identifier of the file storage device, and this will automatically cause the file access requests to be received by the proxy device. In such an arrangement, it is not possible to access the file storage device directly via the communication infrastructure of the computer network.

[0017] It will be appreciated that if the computer network were to have a plurality of file storage devices, it would be possible to provide such a proxy device associated with each file storage device. Alternatively, a single proxy device could be used for the plurality of file storage devices, with the second interface being configured to enable a plurality of file storage devices to be connected to the proxy device, each file storage device having a different identifier, and the proxy device being assigned multiple identifiers corresponding to the identifiers of the connected file storage devices, the first interface being configured to receive any access requests issued to one of said connected file storage devices. This latter approach may be a cost effective implementation in scenarios where relatively little scanning is performed, and hence the presence of one proxy device to perform the scanning for a plurality of file storage devices does not result in a “bottleneck”, which might otherwise adversely impact performance.

[0018] As an alternative to the transparent approach described above, each device in the computer network may be assigned an identifier, the proxy device being assigned a unique identifier different to the identifier of the file storage device, the client devices, the proxy device and the file storage device being connectable to a communication infrastructure of the computer network, the client devices being configured such that access requests issued by the client devices are routed to the proxy device, and the file storage device being configured to send processed access requests to the proxy device. In such an arrangement, some configuration is required on each client device to ensure that access requests are sent to the proxy device, rather than directly to the file storage device. It will be appreciated that the file access requests are still being logically issued to the file storage device, but that the configuration of the client devices ensures that the proxy device is arranged to intercept such access requests. Whilst such an approach would require some extra configuration over the transparent approach described earlier, it would have the advantage that it would allow the computer network administrator to have direct access to the file storage device over the network, and would also allow for the client devices to be given direct access to the file storage device in the event of failure of the proxy device, etc.

[0019] It will be appreciated that the processing logic can be arranged in a variety of ways to ensure that selected malware scanning algorithms are executed for particular file access requests. However, in preferred embodiments, the processing logic is responsive to configuration data to determine which malware scanning algorithms should be selected for a particular file, the proxy device further comprising a scanning engine to execute the malware scanning algorithms selected by the processing logic. This approach enables the scanning algorithms to be selected dependent on the file requiring scanning.

[0020] In preferred embodiments, the proxy device further comprises a file cache for storing files previously accessed by the client devices, upon receipt of an access request identifying a file to be read from the file storage device, the processing logic being arranged to determine whether the file identified by the access request is stored in the file cache and if so to return the file to the client device without communicating with the file storage device via the second interface. Hence, in such embodiments, commonly used files can be stored within a file cache of the proxy device to provide improved performance when accessing those files. The file cache can be placed at any appropriate point within the proxy device. For example, it could be located at the interface to the file storage device so as to cache the file prior to any scanning being performed by the proxy device. However, in preferred embodiments, the file cache is arranged only to store files which have been determined not to be considered as malware, and hence will typically be located at the interface to the client device, so as to cache files which have already been scanned by the processing logic.

[0021] In preferred embodiments, upon receipt of an access request from a client device, the processing logic is arranged to determine from the access request predetermined attributes, and to send those predetermined attributes to the file storage device to enable the file storage device to perform a validation check, the processing logic only allowing the access request to proceed if the file storage device confirms that the client device is allowed to access the file identified by the file access request. This process will typically be performed as soon as the access request is received to ensure that the proxy device does not waste time processing an invalid access request. It will be appreciated that the predetermined attributes relating to the access request may take a variety of forms, for example user name, domain, password, an indication of the file to be accessed, a TCP/IP address of the client machine, etc. As a bare minimum, the predetermined attributes will typically include an indication of the file to be accessed, and an indication of the user name.

[0022] In preferred embodiments, the proxy device further comprises a user cache for storing the predetermined attributes, as these attributes will typically be re-used by the proxy device during the processing of the file access request.

[0023] Viewed from a second aspect, the present invention provides a balanced proxy system for performing malware scanning of files stored within a file storage device of a computer network, the computer network having a plurality of client devices arranged to issue access requests using a dedicated file access protocol to the file storage device in order to access files stored on the file storage device, the balanced proxy system comprising: a plurality of proxy devices in accordance with the first aspect of the present invention arranged so as to intercept access requests issued to the file storage device; and a passive load balancing mechanism arranged to configure each client device to communicate with a particular proxy device in said plurality, such that an access request issued by a particular client device will be directed to a predetermined one of said proxy devices dependent on how that client device was configured by the passive load balancing mechanism.

[0024] Viewed from a third aspect, the present invention provides a method of operating a proxy device to perform malware scanning of files stored within a file storage device of a computer network, the computer network having a plurality of client devices arranged to issue access requests using a dedicated file access protocol to the file storage device in order to access files stored on the file storage device, the proxy device being arranged so as to intercept access requests issued to the file storage device, and the method comprising the steps of: (a) receiving an access request issued by one of said client devices to said file storage device using the dedicated file access protocol; (b) communicating with the file storage device to cause the file storage device to process the access request; and (c) causing selected malware scanning algorithms to be executed to determine whether the file identified by the access request is to be considered as malware.

[0025] Viewed from a fourth aspect, the present invention provides a computer program product operable to configure a proxy device to perform a method of malware scanning of files stored within a file storage device of a computer network, the computer network having a plurality of client devices arranged to issue access requests using a dedicated file access protocol to the file storage device in order to access files stored on the file storage device, the proxy device being arranged so as to intercept access requests issued to the file storage device, and the computer program product comprising: (a) reception code operable to receive an access request issued by one of said client devices to said file storage device using the dedicated file access protocol; (b) communication code operable to communicate with the file storage device to cause the file storage device to process the access request; and (c) algorithm invoking code operable to cause selected malware scanning algorithms to be executed to determine whether the file identified by the access request is to be considered as malware.

BRIEF DESCRIPTION OF THE DRAWINGS

[0026] The present invention will be described further, by way of example only, with reference to embodiments thereof as illustrated in the accompanying drawings, in which:

[0027]FIG. 1 is a block diagram of a prior art computer network arranged to perform anti-virus scanning of files stored within a file server;

[0028]FIG. 2 is a an alternative prior art embodiment of a computer network arranged to perform anti-virus scanning of files stored within a file server;

[0029]FIG. 3 is a block diagram illustrating a computer network having a proxy anti-virus (AV) scanner according to an embodiment of the present invention;

[0030]FIG. 4 is a block diagram illustrating an alternative configuration of the computer network of FIG. 3;

[0031]FIG. 5 is a block diagram illustrating a computer network having a proxy anti-virus (AV) scanner according to an alternative embodiment of the present invention;

[0032]FIG. 6 is a block diagram illustrating the construction of a proxy anti-virus (AV) scanner in accordance with a preferred embodiment of the present invention;

[0033]FIG. 7 is a flow diagram illustrating the process performed by the proxy AV scanner of FIG. 6;

[0034]FIG. 8 is a block diagram illustrating a computer network using multiple proxy AV scanners in accordance with one embodiment of the present invention;

[0035]FIG. 9 is a block diagram of a computer network using multiple proxy AV scanners in accordance with an alternative embodiment; and

[0036]FIG. 10 is a flow diagram illustrating the process performed within the file access request redirector illustrated in FIG. 8.

DESCRIPTION OF A PREFERRED EMBODIMENT

[0037]FIG. 3 is a block diagram of a computer network having a proxy anti-virus (AV) scanner according to a first embodiment of the present invention, where a proxy AV scanner of preferred embodiments is used in a “transparent” configuration. As shown in FIG. 3, the client devices 10 are connected via an appropriate communication infrastructure (20), for example a wired network, with the proxy AV scanner 100, the file storage device 110 then being connected to the proxy AV scanner 100, but not being directly connected to the communication infrastructure 20. In a typical computer network, each device will be assigned a unique identifier, for example a name, so that communications can be directed to specific devices in the network. In accordance with the FIG. 3 embodiment, the proxy AV scanner 100 of preferred embodiments is actually given the same identifier as the file storage device 110, such that when the client devices 10 issue file access requests to the file storage device 110, specifying the identifier of the file storage device, those requests are actually directed to the proxy AV scanner 100. The proxy AV scanner 100 will then communicate with the file storage device 110 as required in order to process the access request, whilst also performing any necessary anti-virus scanning (or other malware scanning) provided by the proxy AV scanner.

[0038] The construction of the proxy AV scanner 100 in accordance with preferred embodiments is illustrated in FIG. 6, whilst the process performed by that proxy AV scanner in preferred embodiments is illustrated in FIG. 7. In preferred embodiments, the computer network illustrated in FIG. 3 is a Microsoft Windows based system, where the Server Message Block (SMB) protocol is used for file access requests. Hence, when one of the client devices 10 issues a file access request using the SMB protocol, this will be received by the proxy AV scanner 100 at step 200 of FIG. 7. Referring to FIG. 6, this request will be received at the interface 110 over path 115.

[0039] The processing logic 160 within the proxy AV scanner 100 will then extract at step 205 predetermined attributes from the file access request, and cause them to be sent via the interface 120 over path 125 to the file storage device 110 for validation. Examples of the predetermined attributes extracted are the user name and password of the user making the request, the domain of the client device, an indication of the file to be accessed, the TCP/IP address of the client device, etc. Based on this information, the file storage device will be able to determine whether the user making the file access request is actually entitled to access the file specified by the file access request.

[0040] The processing logic 160 then waits at step 210 until it receives a response from the file storage device 110 via the interface 120 indicating whether the file access request is valid. If the file access request is not valid, then the process proceeds to step 215, where a message would typically be returned to the client device indicating that the file access request has been denied.

[0041] However, assuming at step 210 it is determined that the file access request is valid, the processing logic 160 is then arranged at step 220 to cache the predetermined attributes within the user cache 150.

[0042] The process then proceeds to step 225, where the processing logic 160 is arranged to determine whether the file access request relates to a read of a file, or a write to a file. Assuming the file access request specifies a read of a file, then the process branches to step 230, where the file cache 140 is checked to determine whether the file being requested is stored within the file cache 140. If it is, then the process proceeds directly to step 265, where the file is returned via the interface 110 to the client device 10.

[0043] However, assuming that the file is not within the file cache 140, then the file is retrieved at step 235 from the file storage device 110 via the interface 120.

[0044] At step 240, it is then determined whether virus scanning is required for this particular file. This determination will typically be made by the processing logic 160 having regard to configuration data 165 which will specify, for example, when scanning should be performed, what type of files should be scanned, what type of scanning algorithms should be employed, etc. Hence, as an example, the configuration data 165 may specify that only executable files should be scanned, that files of a type in which a macro program may be embedded should be scanned, that all compressed files should be scanned, or simply that all files should be scanned. Further, the configuration data may specify whether compare algorithms of the type that compare a suspect file to a dictionary of known virus characteristics should be used, and/or whether one or more heuristic algorithms that seek to detect virus-like activity should be used. Additionally, the configuration data may specify whether files are scanned when written to the storage device, when read from the storage device, both, etc.

[0045] If it is determined at step 240 that virus scanning is not required, then the process proceeds directly to step 260, where the retrieved file is added to the file cache 140, and then returned to the client device at step 265 via the interface 110. However, assuming it is determined at step 240 that virus scanning is required, then the process proceeds to step 245, where the processing logic 160 instructs the anti-virus engine 170 to perform the necessary anti-virus scanning. The anti-virus engine 170 includes a base comparison algorithm 180 and a base heuristic algorithm 185. The base comparison algorithm 180 is arranged to compare files to be scanned against a plurality of characteristics of known viruses stored within a library of virus definitions 175. Parameters passed by the processing logic 160 to the anti-virus engine 170 based on the configuration data 165 control the options selected for the base algorithms 180, 185. In particular, these parameters control which types of file are scanned, whether compressed files are decompressed prior to scanning, what type of heuristic behaviours are searched for and the like.

[0046] The process then proceeds to step 250, where it is determined whether the file is infected by a virus, this being indicated by the output from the anti-virus engine 170. If the file is infected, then the process proceeds to step 255, where reading of that file is blocked, and typically the client device 10 will then be informed that access to the file has been blocked. If it is determined at step 250 that the file is not infected, then the process proceeds to step 260, where that file is then added to the file cache 140, and then returned at step 265 via the interface 110 to the client device 10.

[0047] If at step 225, it is determined that the file access request relates to a write of a file, then the process branches to step 270, where it is determined whether virus scanning is required. If not, then the process proceeds to step 290, where the file to be written is added to the file cache 140, the process the proceeding to step 295 where that file is then stored to the file storage device 110 via the interface 120, where after an acknowledgement is returned to the client at step 297 via the interface 110 to inform the client device that the write access request has been performed. If at step 270, it is determined that virus scanning is required, then the necessary scanning is performed at step 275, after which it is determined at step 280 whether the file is infected. If so, then that write process is blocked at step 285, at which point the client device will typically be informed that the write access request cannot be completed. If the file is determined not to be infected at step 280, then the process proceeds to step 290, whereupon steps 290, 295 and 297 are performed as described above. The processes performed at steps 270, 275, 280 and 285 are fundamentally the same as those described earlier with reference to steps 240, 245, 250 and 255.

[0048] Returning to FIG. 3, it will be appreciated that if multiple file storage devices 110 are included in the computer network, then a separate proxy AV scanner 100 can be provided for each file storage device. Alternatively, a more cost effective approach which may be utilised in situations where the scanning required is unlikely to produce a performance “bottleneck”, is illustrated in FIG. 4, where a single proxy AV scanner 100 is arranged to provide the necessary scanning for multiple file storage devices 110. For the transparency to be maintained, it will be necessary for the proxy AV scanner 100 to be assigned identifiers corresponding to the separate identifiers of the file storage devices 110 connected to the proxy AV scanner 100. Hence, in the example of FIG. 4, the proxy AV scanner 100 will need to be assigned two identifiers corresponding to the identifiers of each of the two file storage devices 110 connected thereto. Referring to FIG. 6, in preferred embodiments two interfaces 110 to the client devices would preferably be provided within the proxy AV scanner 100, such that access requests directed to file storage device 1 would arrive at one of the interfaces, whilst file access requests directed to file storage device 2 would be received at the other interface. Similarly, in preferred embodiments, two interfaces 120 would be provided to enable the proxy AV scanner 100 to separately communicate with file storage device 1 and file storage device 2. However, it will be appreciated by those skilled in the art that, with appropriate software, it might be possible for the proxy AV scanner 100 to still retain a single physical interface 110 to the client devices 10, and a single physical interface 120 to the file storage devices.

[0049] An alternative embodiment is illustrated in FIG. 5, where instead of the transparent configuration of FIG. 3, the file storage device 110 is actually connected directly to the communications infrastructure 20, so that in principle both the file storage device 110 and the proxy AV scanner 100 are individually addressable by the client devices 10. In this configuration, the proxy AV scanner 100 will be given a unique identifier different to the identifier of the file storage device 110, and the client devices 10 are then configured such that they issue any SMB file access requests to the proxy AV scanner 100, rather than directly to the file storage device 110. Hence, if the first client device 10 wishes to issue a file access request to the file storage device 110, it in fact issues a file access request over path 102 to the proxy AV scanner 100, which then communicates over path 104 to the file storage device 110. The accessed files are then returned via the proxy AV scanner 100 to the client device 10.

[0050] Whilst the approach of FIG. 5 is more complex, in that it involves some active reconfiguration of each client device 10 to ensure that file access requests are correctly routed to the proxy AV scanner 100, it does have the benefit that it enables the network administrator to have direct access to the file storage device 110 via the communication infrastructure 20 of the computer network. Further, it provides some robustness in the event of failure of the proxy AV scanner 100 for any reason, since in the event of such a failure, it would be possible to reconfigure each of the client devices so that they could access the file storage device 110 directly, albeit without the anti-virus scanning being in place.

[0051]FIG. 8 illustrates an embodiment of the present invention which may be used in implementations where the throughput of an individual proxy AV scanner 100 might cause a bottleneck, and hence impact overall file access performance. Such a situation might occur, for example, in situations where very rigorous file scanning procedures are in place, for example where all files are scanned, where files are scanned when they are both read or written, where multiple different types of scanning algorithm are used, etc. In accordance with the configuration of FIG. 8, a transparent approach is still maintained, where a single file access request redirector 300 is connected to the information infrastructure 20 of the network, such that any file access request issued by the client devices 10 to the file storage device 110 is actually routed directly to the file access request redirector 300. Hence, in an analogous manner to that described earlier with reference to FIG. 3, the file access request redirector 300 is assigned the same identifier as that assigned to the file storage device 110, and the file storage device 110 is not connected directly to the communications infrastructure 20. Alternatively, as indicated by the dotted line 310, the file storage device 110 could be directly connected to the communication infrastructure 20 in which event the file access request redirector 300 would be given a different unique identifier to that assigned to the file storage device 110, and the configuration would be somewhat analogous to that shown earlier with reference to FIG. 5.

[0052] Between the file access request redirector 300 and the file storage device 110 are located a plurality of proxy AV scanners 100 which are each capable of performing anti-virus scanning of files being accessed. In such embodiments, the job of the file access request redirector 300 is to receive each access request issued by the client devices, and to perform some load balancing techniques to determine which proxy AV scanner 100 should service a particular file access request. As mentioned earlier, the aim of such an approach is to remove any bottleneck that might otherwise occur as a result of the requirement to scan accessed files for viruses.

[0053] The process performed by the file access request redirector in preferred embodiments is illustrated in FIG. 10. At step 400, the file access request redirector receives a file access request from one of the client devices 10, where after the process proceeds to step 410 where a predetermined load balancing routine is applied to determine which proxy AV scanner 100 should handle the file access request.

[0054] It will be appreciated by those skilled in the art that any one of a number of known load balancing techniques could be used at step 410. For example, upon receipt of an access request, the file access request redirector 300 may be arranged to poll each of the plurality of proxy AV scanners 100 in order to seek an indication as to which, if any, of the proxy AV scanners 100 are currently available to handle the file access request. Each proxy AV scanner 100 would then return a message to the file access request redirector indicating its availability. In such an approach, the file access request redirector 300 would preferably be arranged to send the file access request to the first proxy AV scanner that replies with an indication that it is available to handle the file access request. A buffer may be provided within the file access request redirector to buffer any file access requests in the event that all of the proxy AV scanners are currently busy. Alternatively the load balancing device could be arranged to advise the client device that issued the access request that the system is busy, and that the access request should be resubmitted later.

[0055] An alternative load balancing routine that could be applied might involve a “round robin” system of allocation of access requests to proxy AV scanners 100 so as to evenly distribute the access requests amongst the plurality of proxy AV scanners 100. Hence, a first access request would go to proxy AV scanner 1, a second access request would go to proxy AV scanner 2, a third access request would go to proxy AV scanner 3, after which the allocation would loop back to proxy AV scanner 1, which would then receive a fourth file access request, etc. In such embodiments, separate buffers could be provided for each of the proxy AV scanners 100, either within each proxy AV scanner or within the file access request redirector, to buffer file access requests until the corresponding AV scanner 100 is available to process them. Alternatively the load balancing device might be arranged to only allocate a request if the selected proxy device is ready to process it, and if the proxy device is busy (or all proxy devices are busy) to advise the client device that issued the access request that the system is busy, and that the access request should be resubmitted later.

[0056] Another alternative would be for each proxy AV scanner 100 to actively issue a ready signal when it is available to receive an access request, with the load balancing routine in the file access request redirector 300 then being arranged to refer to those ready signals in order to determine to which proxy AV scanner to direct a particular access request. Assuming ready signals have been received from multiple proxy AV scanners 100, then a round robin type approach could be used to allocate individual access requests. Again, a buffer could be provided within the file access request redirector 300 to buffer any file access requests in the event that none of the proxy AV scanners have issued a current ready signal at the time an access request is received. Alternatively the load balancing device could be arranged to advise the client device that issued the access request that the system is busy, and that the access request should be resubmitted later.

[0057] Returning to FIG. 10, once it has been determined at step 410 which proxy AV scanner should handle an individual request, then that request is sent to the relevant proxy AV scanner 100 at step 420. The process will then proceed to step 430, where the file access request redirector 300 will await a response from the relevant proxy AV scanner 100. It will be appreciated by those skilled in the art that whilst the file access request redirector 300 is awaiting a response at step 430, it may actively be processing other file access requests.

[0058] The relevant proxy AV scanner will then perform the process as described earlier with reference to FIGS. 6 and 7, resulting in the event of a read request in the return of the file to be sent to the client, or a message being issued indicating that the read access has been blocked because a virus has been detected, or in the event of a write access resulting in an acknowledgement being issued to indicate that the file has been successfully written to the file storage device, or a message being issued indicating that the write process has been blocked because a virus has been located. Alternatively, if it is determined by the proxy AV scanner that the user making the access request is not authorised to access the identified file, an access denied message may be issued. Any of these responses will be detected by the file access request redirector 300 at step 430, and then returned to the client device at step 440.

[0059] Optionally, a cache may be maintained by the load balancing device to contain details about the files accessed via any of the proxy devices. For example, such a cache could store the results structure of the files retrieved by the various proxy devices, such as for example which proxy device serviced a request for a particular file, whether that file was passed as not being considered as malware by the malware scanning process, etc. This information could be used by the load balancing device such that, if the same file is requested later, the load balancing device can allocate the request to the same proxy device that handled the request for that file last time, and/or can tell the proxy device to which the request is allocated not to perform any malware scanning as the file has already been scanned.

[0060] An alternative possibility would be to maintain a single file cache at the load balancing device to contain files accessed by any of the proxy devices, but this may require an unduly large cache.

[0061]FIG. 9 illustrates an alternative embodiment to that illustrated in FIG. 8, where instead of the active load balancing process performed by the file access request redirector 300, a passive load balancing approach is employed which obviates the need for a file access request redirector 300. In the embodiment illustrated in FIG. 9, there are again multiple proxy AV scanners 100 arranged to service access requests directed to the file storage device 110, so as to reduce the likelihood of a bottleneck occurring. However, rather than performing any active load balancing, each individual client device (or alternatively each individual user) is configured to always direct its file access requests to a particular one of the proxy AV scanners. Hence, if there were twelve client devices on the network, four of them may be arranged to always direct their file access requests to the first proxy AV scanner, another four may be arranged to direct their file access requests to a second proxy AV scanner, and the third set of four devices may be arranged to direct their file access requests to the third proxy AV scanner. Such an approach may statistically assist in removing the likelihood of a bottleneck, although bottlenecks might still occur, for example if a great deal of file accesses were being performed by a particular group of client devices all arranged to communicate through a single proxy AV scanner.

[0062] It will be appreciated that the multiple proxy AV scanners 100 illustrated in FIGS. 8 and 9 could each be provided within separate hardware units, for example on separate desktop PCs, or alternatively in a multiprocessing environment could be located within a single device. Similarly, the file access request redirector 300 of FIG. 8 may be provided within a separate device, or alternatively in a multiprocessing environment might be provided within the same device as one or more of the proxy AV scanners 100.

[0063] Although particular embodiments have been described herein, it will be appreciated that the invention is not limited thereto and that many modifications and additions thereto may be made within the scope of the invention. For example, various combinations of the features of the following dependent claims can be made with the features of the independent claims without departing from the scope of the present invention. 

We claim:
 1. A proxy device for performing malware scanning of files stored within a file storage device of a computer network, the computer network having a plurality of client devices arranged to issue access requests using a dedicated file access protocol to the file storage device in order to access files stored on the file storage device, the proxy device being arranged so as to intercept access requests issued to the file storage device, and comprising: a first interface for receiving an access request issued by one of said client devices to said file storage device using the dedicated file access protocol; a second interface for communicating with the file storage device to cause the file storage device to process the access request; processing logic for causing selected malware scanning algorithms to be executed to determine whether the file identified by the access request is to be considered as malware.
 2. A proxy device as claimed in claim 1, wherein the dedicated file access protocol is the Server Message Block (SMB) protocol, and the access requests are SMB calls issued to the file storage device.
 3. A proxy device as claimed in claim 1, wherein the dedicated file access protocol is the Network File System (NFS) protocol, and the access requests are NFS calls issued to the file storage device.
 4. A proxy device as claimed in claim 1, wherein each device in the computer network is assigned an identifier, and the proxy device is assigned the same identifier as is assigned to the file storage device, the first interface being connectable to a communication infrastructure of the computer network to enable communication between the proxy device and said client devices, and the file storage device being connectable to the second interface such that the file storage device is only accessible by said client devices via said proxy device.
 5. A proxy device as claimed in claim 4, wherein the second interface is configured to enable a plurality of file storage devices to be connected to the proxy device, each file storage device having a different identifier, and the proxy device being assigned multiple identifiers corresponding to the identifiers of the connected file storage devices, the first interface being configured to receive any access requests issued to one of said connected file storage devices.
 6. A proxy device as claimed in claim 1, wherein each device in the computer network is assigned an identifier, the proxy device being assigned a unique identifier different to the identifier of the file storage device, the client devices, the proxy device and the file storage device being connectable to a communication infrastructure of the computer network, the client devices being configured such that access requests issued by the client devices are routed to the proxy device, and the file storage device being configured to send processed access requests to the proxy device.
 7. A proxy device as claimed in claim 1, wherein the processing logic is responsive to configuration data to determine which malware scanning algorithms should be selected for a particular file, the proxy device further comprising a scanning engine to execute the malware scanning algorithms selected by the processing logic.
 8. A proxy device as claimed in claim 1, further comprising a file cache for storing files previously accessed by the client devices, upon receipt of an access request identifying a file to be read from the file storage device, the processing logic being arranged to determine whether the file identified by the access request is stored in the file cache and if so to return the file to the client device without communicating with the file storage device via the second interface.
 9. A proxy device as claimed in claim 8, wherein the file cache is arranged only to store files which have been determined not to be considered as malware.
 10. A proxy device as claimed in claim 1, wherein, upon receipt of an access request from a client device, the processing logic is arranged to determine from the access request predetermined attributes, and to send those predetermined attributes to the file storage device to enable the file storage device to perform a validation check, the processing logic only allowing the access request to proceed if the file storage device confirms that the client device is allowed to access the file identified by the file access request.
 11. A proxy device as claimed in claim 10, further comprising a user cache for storing the predetermined attributes.
 12. A balanced proxy system for performing malware scanning of files stored within a file storage device of a computer network, the computer network having a plurality of client devices arranged to issue access requests using a dedicated file access protocol to the file storage device in order to access files stored on the file storage device, the balanced proxy system comprising: a plurality of proxy devices as claimed in claim 1 arranged so as to intercept access requests issued to the file storage device; and a passive load balancing mechanism arranged to configure each client device to communicate with a particular proxy device in said plurality, such that an access request issued by a particular client device will be directed to a predetermined one of said proxy devices dependent on how that client device was configured by the passive load balancing mechanism.
 13. A method of operating a proxy device to perform malware scanning of files stored within a file storage device of a computer network, the computer network having a plurality of client devices arranged to issue access requests using a dedicated file access protocol to the file storage device in order to access files stored on the file storage device, the proxy device being arranged so as to intercept access requests issued to the file storage device, and the method comprising the steps of: (a) receiving an access request issued by one of said client devices to said file storage device using the dedicated file access protocol; (b) communicating with the file storage device to cause the file storage device to process the access request; and (c) causing selected malware scanning algorithms to be executed to determine whether the file identified by the access request is to be considered as malware.
 14. A method as claimed in claim 13, wherein the dedicated file access protocol is the Server Message Block (SMB) protocol, and the access requests are SMB calls issued to the file storage device.
 15. A method as claimed in claim 13, wherein the dedicated file access protocol is the Network File System (NFS) protocol, and the access requests are NFS calls issued to the file storage device.
 16. A method as claimed in claim 13, wherein each device in the computer network is assigned an identifier, and the proxy device is assigned the same identifier as is assigned to the file storage device, the method comprising the steps of: connecting a first interface of the proxy device to a communication infrastructure of the computer network to enable communication between the proxy device and said client devices; and connecting the file storage device to a second interface of the proxy device such that the file storage device is only accessible by said client devices via said proxy device.
 17. A method as claimed in claim 16, wherein the second interface is configured to enable a plurality of file storage devices to be connected to the proxy device, each file storage device having a different identifier, and the proxy device being assigned multiple identifiers corresponding to the identifiers of the connected file storage devices, the first interface being configured to receive any access requests issued to one of said connected file storage devices.
 18. A method as claimed in claim 13, wherein each device in the computer network is assigned an identifier, the proxy device being assigned a unique identifier different to the identifier of the file storage device, the method comprising the steps of: connecting the client devices, the proxy device and the file storage device to a communication infrastructure of the computer network; configuring the client devices such that access requests issued by the client devices are routed to the proxy device; and configuring the file storage device to send processed access requests to the proxy device.
 19. A method as claimed in claim 13, wherein said step (c) comprises the steps of: responsive to configuration data, determining which malware scanning algorithms should be selected for a particular file; and employing a scanning engine to execute the malware scanning algorithms selected by said determining step.
 20. A method as claimed in claim 13, further comprising the steps of: storing within a file cache files previously accessed by the client devices; upon receipt of an access request identifying a file to be read from the file storage device, determining whether the file identified by the access request is stored in the file cache and if so returning the file to the client device without communicating with the file storage device.
 21. A method as claimed in claim 20, wherein the file cache is arranged only to store files which have been determined not to be considered as malware.
 22. A method as claimed in claim 13, further comprising the steps of: upon receipt of an access request from a client device, determining from the access request predetermined attributes; sending those predetermined attributes to the file storage device to enable the file storage device to perform a validation check; and only allowing the access request to proceed if the file storage device confirms that the client device is allowed to access the file identified by the file access request.
 23. A method as claimed in claim 22, further comprising the step of storing within a user cache the predetermined attributes.
 24. A method as claimed in claim 13, wherein a plurality of said proxy devices are provided, the method further comprising the step of employing a passive load balancing mechanism to configure each client device to communicate with a particular proxy device in said plurality, such that an access request issued by a particular client device will be directed to a predetermined one of said proxy devices dependent on how that client device was configured by the passive load balancing mechanism.
 25. A computer program product operable to configure a proxy device to perform a method of malware scanning of files stored within a file storage device of a computer network, the computer network having a plurality of client devices arranged to issue access requests using a dedicated file access protocol to the file storage device in order to access files stored on the file storage device, the proxy device being arranged so as to intercept access requests issued to the file storage device, and the computer program product comprising: (a) reception code operable to receive an access request issued by one of said client devices to said file storage device using the dedicated file access protocol; (b) communication code operable to communicate with the file storage device to cause the file storage device to process the access request; and (c) algorithm invoking code operable to cause selected malware scanning algorithms to be executed to determine whether the file identified by the access request is to be considered as malware.
 26. A computer program product as claimed in claim 25, wherein the dedicated file access protocol is the Server Message Block (SMB) protocol, and the access requests are SMB calls issued to the file storage device.
 27. A computer program product as claimed in claim 25, wherein the dedicated file access protocol is the Network File System (NFS) protocol, and the access requests are NFS calls issued to the file storage device.
 28. A computer program product as claimed in claim 25, wherein each device in the computer network is assigned an identifier, and the proxy device is assigned the same identifier as is assigned to the file storage device, a first interface of the proxy device being connectable to a communication infrastructure of the computer network to enable communication between the proxy device and said client devices, and a second interface of the proxy device being connectable to the file storage device such that the file storage device is only accessible by said client devices via said proxy device.
 29. A computer program product as claimed in claim 28, wherein the second interface is configured to enable a plurality of file storage devices to be connected to the proxy device, each file storage device having a different identifier, and the proxy device being assigned multiple identifiers corresponding to the identifiers of the connected file storage devices, the reception code being operable to receive via the first interface any access requests issued to one of said connected file storage devices.
 30. A computer program product as claimed in claim 25, wherein each device in the computer network is assigned an identifier, the proxy device being assigned a unique identifier different to the identifier of the file storage device, the client devices, the proxy device and the file storage device being connectable to a communication infrastructure of the computer network, the client devices being configured such that access requests issued by the client devices are routed to the proxy device, and the file storage device being configured to send processed access requests to the proxy device.
 31. A computer program product as claimed in claim 25, wherein said algorithm invoking code is operable to determine, responsive to configuration data, which malware scanning algorithms should be selected for a particular file, and the computer program product further comprises scanning engine code responsive to said algorithm invoking code and operable to execute the malware scanning algorithms selected by said algorithm invoking code.
 32. A computer program product as claimed in claim 25, further comprising: caching code operable to store within a file cache files previously accessed by the client devices; the reception code being operable, upon receipt of an access request identifying a file to be read from the file storage device, to determine whether the file identified by the access request is stored in the file cache and if so to cause the file to be returned to the client device without the communication code communicating with the file storage device.
 33. A computer program product as claimed in claim 32, wherein the file cache is arranged only to store files which have been determined not to be considered as malware.
 34. A computer program product as claimed in claim 25, wherein said reception code is operable, upon receipt of an access request from a client device, to determine from the access request predetermined attributes, the communication code being operable to send those predetermined attributes to the file storage device to enable the file storage device to perform a validation check, the access request only being allowed to proceed if the file storage device confirms that the client device is allowed to access the file identified by the file access request.
 35. A computer program product as claimed in claim 34, further comprising storing code operable to store within a user cache the predetermined attributes.
 36. A computer program product as claimed in claim 25, wherein a plurality of said proxy devices are provided, the computer program product further comprising passive load balancing code operable to configure each client device to communicate with a particular proxy device in said plurality, such that an access request issued by a particular client device will be directed to a predetermined one of said proxy devices dependent on how that client device was configured by the passive load balancing code. 